import { exInputNumber } from '../../extension/index'

export default {
  VERSION: '20220408',
  type: 'uiVideoCard',
  name: '视频盒子',
  icon: 'checkbox-blank-line',
  svg: 'shipin',
  //数据别名
  // dataName: 'uiFlexbox_data',
  //扩展
  extension: {
    requestSet: {
      type: 'exRequestSet',
      name: '接口配置',
      value: {
        api: '/wms/wms-web',
        method: 'wms.screen.query.test',
        getDataKey: 'wms.screen.query.test',
        cardValue: 'EDITWHO',
        isCard: true,
        loopRequest: false,
        loopTime: 3000,
        nameKey: '',
        valueKey: '',
        busList: [],
        dataObj: {},
        data: [
          { key: '#LIMIT#', value: '1' },
          { key: '#PAGE_SIZE#', value: '10' },
        ],
        resList: [],
      },
    },
    height: exInputNumber('视频高度', 300, 0, 10000),
    videoSrc: {
      type: 'exUpVideo',
      name: '上传文件',
      value: '',
    },
  },
}
